#!/usr/bin/python
# -*- coding: UTF-8 -*-

def is_odd(n):
    return n % 2 == 1


newlist = filter(is_odd, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10])
print(list(newlist))
# print(dict(newlist))


dict()                        # 创建空字典 {}

print(dict(a='a', b='b', t='t'))     # 传入关键字 {'a': 'a', 'b': 'b', 't': 't'}

print(dict(zip(['one', 'two', 'three'], [1, 2, 3])))  # 映射函数方式来构造字典 {'three': 3, 'two': 2, 'one': 1}

print(dict([('one', 1), ('two', 2), ('three', 3)]))  # 可迭代对象方式来构造字典 {'three': 3, 'two': 2, 'one': 1}

filterArea = ("其它", "卡料", "基础", "实体", "影视", "技术", "数据", "服务", "私拍", "虚拟")





